let arr = [1,2,5,6,8];

let result = arr.findIndex((item) => {
  return item > 3
})
console.log(result);
console.log(arr.includes(2));
arr.fill(10);
console.log(arr);